import {
    HomeOutlined,
    UserAddOutlined,
    CoffeeOutlined,
    MailOutlined,
    SolutionOutlined,
    IdcardOutlined,
    PieChartOutlined,
    UserOutlined,
    ShoppingCartOutlined
} from "@ant-design/icons"
export const route = [
    {
        title: "首页",
        path: "/main/home",
        icon: HomeOutlined,
        permission: 1,
    },
    {
        title: "用户管理",
        path: "/main/users",
        icon: UserAddOutlined,
        permission: 2,
        children: [
            {
                title: "用户列表",
                path: "/main/users/list",
                icon: IdcardOutlined,
                permission: 2,
            },
            // {
            //     title: "用户异动",
            //     path: "/main/users/action",
            //     icon: IdcardOutlined,
            //     permission: 2,
            // },
        ]
    },
    {
        title: "生活管理",
        path: "/main/life",
        icon: CoffeeOutlined,
        permission: 1,
        children: [
            {
                title: "体温管理",
                path: "/main/life/temperature",
                icon: CoffeeOutlined,
                permission: 1,
            },
            {
                title:"出入管理",
                path:"/main/life/outin",
                icon:CoffeeOutlined  ,
                permission:1,
            }
        ]
    },
    {
        title: "社区购物",
        path: "/main/shopping",
        icon: ShoppingCartOutlined,
        permission: 1,
        children: [
            {
                title: "购买商品",
                path: "/main/shopping/buy",
                icon: ShoppingCartOutlined,
                permission: 1,
            },
            {
                title:"我的商品",
                path:"/main/shopping/my",
                icon:ShoppingCartOutlined  ,
                permission:1,
            }
            
        ]
    },
    {
        title: "意见管理",
        path: "/main/advise",
        icon: MailOutlined,
        permission: 1,
        children:[
            {
                title:"意见列表",
                path:"/main/advise/list",
                icon:PieChartOutlined,
                permission:1,
            },
            {
                title:"添加意见",
                path:"/main/advise/create",
                icon:PieChartOutlined  ,
                permission:1,
            }
        ]
    },
    // {
    //     title: "超级管理",
    //     path: "/main/super",
    //     icon: SolutionOutlined,
    //     permission: 3,
    //     children:[
    //         {
    //             title:"角色管理",
    //             path:"/main/super/role",
    //             icon:MailOutlined,
    //             permission:3,
    //         },
    //         {
    //             title:"权限管理",
    //             path:"/main/super/permission",
    //             icon:MailOutlined,
    //             permission:3,
    //         },
    //     ]
    // },
    {
        title:"个人中心",
        path:"/main/mine",
        icon:UserOutlined,
        permission:1,
    }
]